package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * Created by ShenYiChou on 2017/1/19.
 */
@Data
@Table(name = "t_question_conf")
public class QuestionConf extends BaseEntity {
    @NotNull
    private int question_num;
    @NotNull
    private int question_time;
    @NotEmpty(message = "考试类型不能为空")
    private String question_type;
    @NotNull
    private int question_pass;
    private String post_time;
}
